package com.e9ab98e991ab.moduler.ui.edittext

import android.view.View
import android.view.ViewTreeObserver
import com.e9ab98e991ab.libcommon.base.BaseActivity


import com.e9ab98e991ab.moduler.R
import kotlinx.android.synthetic.main.activity_common_button_animation.*

class EnglishInputAnimationActivity : BaseActivity() {




    override fun getLayoutId(): Int {
        return R.layout.activity_common_button_animation
    }
    private val layoutListener = ViewTreeObserver.OnGlobalLayoutListener {
        scrollView.fullScroll(View.FOCUS_DOWN)
    }

    override fun initSet() {
        setTitle(R.string.english_input_letter_animation)
        fontView.viewTreeObserver.addOnGlobalLayoutListener(layoutListener)
    }

    override fun initDate() {


    }

    override fun onDestroy() {
        fontView.viewTreeObserver.removeOnGlobalLayoutListener(layoutListener)
        super.onDestroy()
    }
}
